package nc.ui.med.bd.medcatadoc;


import nc.bs.framework.common.NCLocator;
import nc.itf.med.bd.medcatadoc.IMedCata;
import nc.vo.med.pub.session.ClientLink;
import nc.vo.med.pub.smart.SmartVO;

public class Medcatadoc_Client {

	private static IMedCata iService = null;
	
	public static IMedCata getService(){
		if(iService == null){
			iService = NCLocator.getInstance().lookup(IMedCata.class);
		}
		return iService;
	}
	
	public static SmartVO[] query(String pk_corp) throws Exception{			
    	
		return getService().queryMedCata(pk_corp);
	}
	
	public static SmartVO[] save(SmartVO[] vos ,ClientLink cl ) throws Exception{

    	return getService().saveMedCata(vos, cl);
	}
	
}
